package org.turbobytes.unikey.util.db.jdbc;

import java.sql.Connection;
import java.sql.SQLException;

/**
 * Callback Interface that works in conjuction with DbTemplate
 *
 * @author Ganeshji Marwaha
 * @since Aug 8, 2010
 */
public interface ConnectionCallback<T> {
  public T doInConnection(Connection connection) throws SQLException;
}
